Nuke trailing whitespace from smart shortnames.
authorrobertl <robertl>
Tue, 13 Feb 2007 06:55:26 +0000 (06:55 +0000)
committerrobertl <robertl>
Tue, 13 Feb 2007 06:55:26 +0000 (06:55 +0000)
mkshort.c

index daa7514349cd45dc46ca44d4de5e273edc92ad37..d2b928fc45eb5ed4c9ec980b9d952f60a96de734 100644 (file)
--- a/mkshort.c
+++ b/mkshort.c
@@ -515,6 +515,7 @@ mkshort(short_handle h, const char *istring)
                if (dp < ostring) dp = ostring;
                memmove(dp, np, strlen(np));
                dp[strlen(np)] = 0;
+               rtrim(ostring);
        }
 
        /*